package com.sl.au.interceptor;

import javax.servlet.http.HttpSessionEvent;
import javax.servlet.http.HttpSessionListener;

import org.springframework.stereotype.Component;
@Component
public class SessionListener implements HttpSessionListener {

	@Override
	public void sessionCreated(HttpSessionEvent evt) {
		System.out.println("created"+evt.getSession().getId());
		
	}

	@Override
	public void sessionDestroyed(HttpSessionEvent evt) {
		System.out.println("destroyed"+evt.getSession().getId());

	}

}
